﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NimLearning.NimState
{
    public class NimGame
    {
		NimBoard board;
		NimMenu menu;

		public NimGame()
		{
			board = new NimBoard();
			menu = new NimMenu(board);
			this.StartGame(menu.StartUp());
		}

		private void StartGame(int game)
		{
			if (game == 1)
				PlayerVSAI();
			if (game == 2)
				AIVSAI();
			else
				Environment.Exit(0);
				

		}

		private void AIVSAI()
		{

		}

		private void PlayerVSAI()
		{
			this.board.PrintBoard();
			menu.AskToRemove();
		}
    }
}
